home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Accelerator 10
/
HOMEWRLD.bin
/
BEHAV.CXT
/
00018_Script_Send Taiidan Change Picture
< prev
next >
Wrap
Text File
|
1999-03-23
|
2KB
|
72 lines
property myScrollTop
global gtextSprite
global gVideoSprite
global gImageSprite
on enterFrame me
set myScrollTop = the scrollTop of member (the member of sprite gTextSprite)
sendChangeImage
end
--on hideVideoSprite
--
-- -- hide the quickTime to reveal the images
-- -- hide the quickTime controls
--
-- if the visible of sprite gVideoSprite = TRUE then
--
-- set the visible of sprite gVideoSprite to FALSE
--
-- set the stageColor to the stageColor
--
-- -- force the screen redraw
--
-- repeat with x = 30 to 33
-- set the visible of sprite x to FALSE
-- end repeat
--
-- updateStage
-- end if
--
--end
on sendChangeImage me
if the scrollTop of the member of sprite 5 > 0 AND the scrollTop of the member of sprite 5 <960 then
sendSprite(gVideoSprite, #changeMovie, "TScout")
end if
if the scrollTop of the member of sprite 5 > 960 AND the scrollTop of the member of sprite 5 <1974 then
sendSprite(gVideoSprite, #changeMovie, "TLCor")
end if
if the scrollTop of the member of sprite 5 > 1974 AND the scrollTop of the member of sprite 5 <3115 then
sendSprite(gVideoSprite, #changeMovie, "TDefen")
end if
if the scrollTop of the member of sprite 5 > 3115 AND the scrollTop of the member of sprite 5 <4305 then
sendSprite(gVideoSprite, #changeMovie, "TAssau")
end if
if the scrollTop of the member of sprite 5 > 4305 then
sendSprite(gVideoSprite, #changeMovie, "TCGen")
end if
end